﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Calculate
    {
        public void area(int R)
        {
            Console.WriteLine("圆的面积为：{0}",3.14*R*R);
        }
        public void area(int C,int K)
        {
            Console.WriteLine("长方形的面积为：{0}",C*K);
        }
    }
}
